<?php /* Smarty version 2.6.25, created on 2011-08-07 11:47:08
         compiled from orders.htm */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript">
window.onload = CheckUser;
</script>
	<div class="allcontent">
    
    <div class="bulletin">
					<?php echo $this->_tpl_vars['cache']['notice']; ?>

			</div>
		<div class="allcenter-left1">
			<div class="title-left"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/title-left.jpg" /></div>
			<div class="title-middle">订餐中心</div>
			<div class="title-right"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/title-right.jpg" /></div>
			<div class="title-text">
            <?php if ($this->_tpl_vars['balance'] != 'none'): ?>
            我的余额:<font style="font-weight:bold"><?php echo $this->_tpl_vars['balance']; ?>
</font>&nbsp;&nbsp;&nbsp;
            <?php endif; ?>
            <a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/record/"><font style="font-weight:bold">订餐记录</font></a>&nbsp;&nbsp;<?php if ($this->_tpl_vars['balance'] != 'none'): ?><a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/setpass/"><font style="font-weight:bold">修改密码</font></a><?php endif; ?>&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/mylist/">我的订单</a>&nbsp;&nbsp; <a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/expense/">我的消费记录</a>&nbsp;&nbsp; <a href="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/pay/">我的充值记录</a>&nbsp;&nbsp;<a href="javascript:" onclick="Logout();">退出</a></div>
			<br class="clear-f" />
			
            
          
            
            <div class="message-form">
				<div class="message-form-title"></div>
				<div class="order-left">
					<dl>
						<dt><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/ico-list.gif" style="margin-right:5px;" />餐馆列表</dt>
							<?php $_from = $this->_tpl_vars['company']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>

                        <dd>[营业] <a href="javascript:" onclick="GetEat(<?php echo $this->_tpl_vars['c']['eateryid']; ?>
);return false;"><span><?php echo $this->_tpl_vars['c']['eatname']; ?>
</span></a></dd>
							<?php endforeach; endif; unset($_from); ?>

					</dl>
				</div>
				<div class="order-right">
					
                   
                      <span id="refood">
                      
                    <div class="order-right-title">
						<dl>
							<dt><span style="float:left;"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/ico-star.jpg" style="margin-right:3px;" /><?php echo $this->_tpl_vars['eat']['eatname']; ?>
<?php if ($this->_tpl_vars['eat']['remark'] != ""): ?>&nbsp;&nbsp;[<?php echo $this->_tpl_vars['eat']['remark']; ?>
]<?php endif; ?></span><br class="clear-f" />
							</dt>
                            
                            
                            
							<dd> 
                            <?php if ($this->_tpl_vars['eat']['sendstart'] > 0): ?>
                            起送金额：<?php echo $this->_tpl_vars['eat']['sendstart']; ?>
元
                          
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                             <?php endif; ?>
                            订餐电话：<?php echo $this->_tpl_vars['eat']['tel']; ?>

                          
                              </dd>
						</dl>
					</div>
					<div class="order-right-con">
						   <span id="food_loading" style="display:none;"><img style="margin-top:80px;" src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/loading_foot_list.gif" />正在努力加载中...</span>
                        <span id="foodlist">
                        <?php $_from = $this->_tpl_vars['foodlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['food']):
?>
						<dl>
							<dt>
								<div class="div-f"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/menu-left.jpg" /></div>
								<div class="div-f menu-middle">
									<div class=" div-f menu-middle-con"><?php echo $this->_tpl_vars['k']; ?>
</div>
									<img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/menu-right-con.jpg" class="div-f" /><br class="clear-f" />
								</div>
								<div class="div-f"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/menu-right.jpg" /></div>
								<br class="clear-f" />
							</dt>
                            
							<?php $_from = $this->_tpl_vars['food']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['p']):
?>
                            <dd>
								<div class="div-f order1">·<?php echo $this->_tpl_vars['p']['1']; ?>
</div>
								<div class="div-f order2"><?php echo $this->_tpl_vars['p']['2']; ?>
元</div>
								<div class="div-f order3"><a href="javascript:" onclick="docart(<?php echo $this->_tpl_vars['p']['0']; ?>
,1,'add','info');return false;" style="
	color:#f66200;">订购</a></div>
								<br class="clear-f" />
							</dd>
                            <?php endforeach; endif; unset($_from); ?>
							
						</dl>
                        <?php endforeach; endif; unset($_from); ?>
                        </span>
					</div>
                    
                    </span>
                    
				</div>
				<div class="clear-f" ></div>
			</div>
           
            
            
			
            
            
            
            <div class="cart_frame">
				<div class="cart_left"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/cart_left.jpg" border="0" /></div>
				<div class="cart_right" style="text-align:center;">
					<div class="cart_top"><img src="<?php echo $this->_tpl_vars['_TEMPLATESDIR']; ?>
/images/cart_t_l.gif" border="0" /></div>
					<br class="clear-f" />
					<iframe  width="736" height="190" style="margin:0 auto;" src="<?php echo $this->_tpl_vars['_BASEURL']; ?>
orders/step/" frameborder="0" scrolling="auto" id="cart_step" name="cart_step" ></iframe>
                    
                    
					<div class="cart_bottom"></div>
				</div>
				<br class="clear-f" />
			</div>
            
            
            
            
            
            
		</div>
		
		
	</div>
	<br class="clear-f" />
	
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "foot.htm", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>